FROM openjdk:21
ADD target/management.jar /usr/local/management.jar
CMD ["java", "-jar","-Dspring.profiles.active=prod","/usr/local/management.jar"]
EXPOSE 8080